package com.ruoyi.system.domain;

import lombok.Data;

import java.util.List;

/**
 * 套餐表 对应 TOUR_PACKAGE
 */
@Data
public class TourPackage {

    private int id;
    private String name;
    private int kind;
    private int cityId;
    private TourCity city;
    private int cost;
    private String duration;
    private List<TourRoute> routes;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public TourPackage() {
    }

    public TourPackage(String name, int kind, int cityId, int cost, String duration) {
        this.name = name;
        this.kind = kind;
        this.cityId = cityId;
        this.cost = cost;
        this.duration = duration;
    }

    public List<TourRoute> getRoutes() {
        return routes;
    }

    public void setRoutes(List<TourRoute> routes) {
        this.routes = routes;
    }
}
